package com.talos.ums.controller.admin.userstation.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 用站点关联表 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UmsUserStationRespVO {

    @Schema(description = "自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25509")
    @ExcelProperty("自增id")
    private Long id;

    @Schema(description = "用户id", example = "6482")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "站点id", example = "10695")
    @ExcelProperty("站点id")
    private Long stationId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人工号")
    @ExcelProperty("创建人工号")
    private String creatorCode;

    @Schema(description = "创建人姓名", example = "李四")
    @ExcelProperty("创建人姓名")
    private String creatorName;

    @Schema(description = "修改时间")
    @ExcelProperty("修改时间")
    private LocalDateTime modifyTime;

    @Schema(description = "修改人工号")
    @ExcelProperty("修改人工号")
    private String modifierCode;

    @Schema(description = "修改人姓名", example = "李四")
    @ExcelProperty("修改人姓名")
    private String modifierName;

    @Schema(description = "租户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25956")
    @ExcelProperty("租户id")
    private Long tenantId;

}
